#include <stdio.h>

int main(int argc, const char *argv[])
{
    int a1[3] = {10, 50, 100};
    char a2[3] = {'c', 'd', 'f'};
    float a3[3] = {10.00, 30.0, 19.0};
    double a4[3] = {10.00, 30.0, 19.0};
    int *p1 = a1;
    char *p2 = a2;
    float *p3 = a3;
    double *p4 = a4;
    printf("p10: %p\n", p1);
    printf("p12: %p\n", &p1[2]);
    printf("p1++: %p\n", ++p1);
    printf("p12-p10: %d\n", &p1[2] - &p1[0]);
    printf("p2: %p\n", p2);
    printf("p3: %p\n", p3);
    printf("p4: %p\n", p4);
    return 0;
}

